//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package common;

public class LogicXXEntry {
    private Integer v1 = null;
    private Long v2 = null;
    private Boolean v3 = Boolean.valueOf(false);

    public LogicXXEntry() {
    }

    public void decode(ByteStream stream) {
        this.v1 = Integer.valueOf(stream.readInt());
        if(stream.readBoolean()) {
            LogicLong aa = new LogicLong();
            aa.decode(stream);
            this.v2 = Long.valueOf(aa.longValue());
        }

        this.v3 = Boolean.valueOf(stream.readBoolean());
    }

    public Integer getV1() {
        return this.v1;
    }

    public Long getV2() {
        return this.v2;
    }

    public Boolean getV3() {
        return this.v3;
    }

    public String toString() {
        return "v1:" + String.format("0x%x", new Object[]{this.v1}) + ", v2:" + this.v2 + ", v3:" + this.v3;
    }
}
